<?php

namespace backend\models;

use Yii;

/**
 * This is the model class for table "e_log".
 *
 * @property integer $log_id
 * @property integer $admin_id
 * @property string $log_content
 * @property string $log_time
 */
class Log extends \yii\db\ActiveRecord
{
    /**
     * @inheritdoc
     */
    public static function tableName()
    {
        return 'e_log';
    }

    /**
     * @inheritdoc
     */
    public function rules()
    {
        return [
            [['admin_id'], 'integer'],
            [['log_content', 't_id'], 'string', 'max' => 255],
        ];
    }

    /**
     * @inheritdoc
     */
    public function attributeLabels()
    {
        return [
            'log_id' => 'Log ID',
            'admin_id' => 'Admin ID',
            'log_content' => 'Log Content',
            't_id' => 'T ID',
        ];
    }
}
